package com.era.entity;

import java.sql.Timestamp;

/**
 * Comment entity. @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private Integer comId;
	private Integer newsId;
	private String comPerson;
	private Timestamp commTime;
	private String content;
	

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** full constructor */
	public Comment(Integer newsId, String comPerson,
			String content) {
		
		this.newsId = newsId;
		this.comPerson = comPerson;
		this.content = content;
	}

	// Property accessors

	public Integer getComId() {
		return this.comId;
	}

	public void setComId(Integer comId) {
		this.comId = comId;
	}

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public String getComPerson() {
		return this.comPerson;
	}

	public void setComPerson(String comPerson) {
		this.comPerson = comPerson;
	}

	public Timestamp getCommTime() {
		return this.commTime;
	}

	public void setCommTime(Timestamp commTime) {
		this.commTime = commTime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}



}